package com.lc.user.service;

import com.lc.user.bo.RegisterUser;
import com.lc.user.pojo.User;

public interface UserService {
    User findUserById(int id);
    User findUserByEmail(String email);
    int register(RegisterUser user);
    User login(User user);
    User findByToken(String token);
}
